<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>计算器</title>
  <link rel="stylesheet" href="./layout.css">
</head>
<body>
  <div id="main">
    <label>宽度:</label>
    <input id='width' type="text">
    <br>
    <label>高度:</label>
    <input id='height' type="text">
    <br>
    <input type="button" value='计算' id='calc'>
    <br>
    <label>周长:</label>
    <input type="text" id='perimeter' disabled>
    <br>
    <label>面积:</label>
    <input type="text" id='area' disabled>
    <br>
  </div>
  <script src='//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'></script>
  <script src='main.js'></script>
</body>
</html>
